<%@ page language="java" pageEncoding="utf-8"%>
<%@taglib uri="/WEB-INF/page-base.tld" prefix="w"%>
<script src="<%=request.getContextPath() %>/plugins/cityselect/jquery.cityselect.js" type="text/javascript"></script>

<div class="easyui-panel" data-options="doSize:false,layoutH:47,border:false" style="margin:5px" id="selfaretempcity">
		<div class="line8"></div><div class="line8"></div>
		<table align="center">
		<tr>
		<td>
			<select name="sel_province" class="prov" style="width:120px;height:30px;"><option value="">选择省份</option></select>
		</td>
		<td>
			<select name="sel_city" class="city" style="width:120px;height:30px;">
	       		<option value="">选择城市</option>
	    	</select>
    	</td>
   		</tr>
   		</table>
</div>
<div class="ui-buttonBar">
	<a href="javascript:;" class="easyui-linkbutton marginR16" iconCls="icon_save" onclick="selfaretempareaok();">确定</a>
	<a href="javascript:;" class="easyui-linkbutton" iconCls="icon_cancel" onclick="$w.closeCurrWin()">取 消</a>
</div>
<script>
function selfaretempareaok(){
	var obj=new Object();
	obj.province=$getByName("sel_province",$w.currWin()).val();
	obj.city=$getByName("sel_city",$w.currWin()).val();
	if(obj.province)$w.closeCurrWin(obj);
	else $w.closeCurrWin();
}
$("#selfaretempcity").citySelect({prov:'',city:'',dist:'',required:false});
</script>